package com.atwisdom.star.core.dao.pojo.functionClass;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName batch_number
 */
@TableName(value ="batch_number")
@Data
public class BatchNumber implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 业务编码
     */
    @TableField(value = "code")
    private String code;

    /**
     * 批号名称 YYYY-112-WC 
     */
    @TableField(value = "name")
    private String name;

    /**
     * 当前值
     */
    @TableField(value = "currentValue")
    private Integer currentValue;

    /**
     * 增长步长
     */
    @TableField(value = "increment")
    private Integer increment;

    /**
     * 说明
     */
    @TableField(value = "comments")
    private String comments;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}